package cn.wolfcode.wolfcodemall.domain;

import lombok.Data;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class User {
    private Integer userId;

    private String userName;

    private String userNickname;

    private String userPassword;

    private String userRealname;

    private Boolean userGender;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date userBirthday;

    private String userAddress;

    private String userProfilePictureSrc;

    // 自定义
    private Address address;

    private List<ProductOrderItem> productOrderItemList;

}